package com.toman.Interfaces;

/**
 * Created by 邹苏隆 on 2018/6/3.
 * description：
 */

public class NewBaseUrl {
    public static String base = "http://192.168.5.73:8080";//刘晨
//        public static String base = "http://192.168.5.150:8080";//吴典
//  public static String base = "http://192.168.5.160:8080";//翔
//    public static String base = "http://192.168.5.47:8000";//望欣
//    public static String base = "http://101.132.158.28:8080";//线上环境
//        public static String base = "http://192.168.5.166";//线上环境
//        public static String base = "http://192.168.5.166:8082";//翔哥测试环境2
//public static String base = "http://101.132.123.221/proxyApi";//测试环境
// public static String base = "https://www.zjtmcloud.com/proxyApi";//负载均衡
    public static String num =20+"";//单页请求数量
    //**              登录模块       **//
    public static String Login_post = base + "/app/login";//登录 psst
    //**              工作模块       **//
    public static String company_list_get = base + "/sys/company/list";//公司信息列表
    public static String company_info_get = base + "/sys/company/info/";//获取公司信息
    public static String company_select = base + "/sys/company/appSelect";//企业选择

    public static String department_list_get = base + "/sys/department/list";//部门信息列表
    public static String department_info_get = base + "/sys/department/info/";//部门信息详细
    public static String department_select = base + "/sys/department/appSelect";//部门选择

    public static String user_list_get = base + "/sys/user/list";//人员信息列表
    public static String user_deakwith_list_get = base + "/sys/user/queryByDepartmentIdDealwithRole";//处理人员信息列表
    public static String user_info_get = base + "/sys/user/info/";//人员信息详细
    public static String user_info_get_user = base + "/sys/user/info";//用户信息详细


    public static String user_save_post = base + "/sys/user/appSave";//人员信息保存
    public static String user_select = base + "/sys/user/appSelect";//人员选择
    public static String user_select_tally = base + "/company/devicecheckrecord/queryCreateUsers";//点检人员
    public static String user_select_premaintenancerecord = base + "/company/premaintenancerecord/queryCreateUsers";//预维护 人员
    public static String user_select_completeequipmentrecord = base + "/company/completeequipmentrecord/queryCreateUsers";// 完好检查人员
    public static String user_select_devicerepairrecord = base + "/company/devicerepairrecord/queryCreateUsers";//报修人员
    public static String company_beltline_listworkers = base + "/company/beltline/listWorkers";//操作人员


    public static String user_update_post = base + "/sys/user/appUpdate";//人员信息保存

    public static String user_delete_post = base + "/sys/user/appDelete/";//人员信息删除

    public static String hardware_list_get = base + "/sys/hardwareinfo/list";//固件信息列表
    public static String hardwave_info_get = base + "/sys/hardwareinfo/info/";//固件信息详细
    public static String hardwave_select = base + "/sys/hardwareinfo/appSelect";//硬件选择

    public static String beltline_list_get = base + "/company/beltline/list";//产线信息列表
    public static String beltline_info_get = base + "/company/beltline/info/";//产线信息详细
    public static String beltline_select = base + "/company/beltline/appSelect";//产线选择


    public static String terminal_list_get = base + "/company/terminal/list";//终端信息列表
    public static String terminal_info_get = base + "/company/terminal/info/";//终端信息详细
    public static String terminal_select = base + "/company/terminal/appSelect";//终端选择
//班次

    public static String shift_list_get = base + "/company/shift/applist";//班次信息列表
    public static String shift_info_get = base + "/company/shift/info/";//班次信息详细
    public static String shift_save_post = base + "/company/shift/save";//新增班次信息详细
    public static String shift_update_post = base + "/company/shift/update";//更新班次信息详细
    public static String shift_delete_post = base + "/company/shift/appDelete/";//删除班次信息详细
    public static String workcalendar_list_get = base + "/company/workcalendar/list";//工作日历信息详细
    public static String workcalendar_month = base + "/company/workcalendar/getWorkDayByMonth";//工作日历信息详细
    public static String remind_list_get = base + "/company/remindingrecord/list";//事件提醒信息列表
    public static String remind_info_get = base + "/company/remindingrecord/info/";//事件提醒信息详细
    public static String role_list_get = base + "/sys/role/list";//角色管理列表
    public static String role_info_get = base + "/sys/role/info/";//角色管理详细
    public static String role_info_app = base + "/sys/role/appRoleMenu";//角色权限信息详细
    public static String role_select = base + "/sys/role/appSelect";//角色选择详细

    public static String problemitem_list_get = base + "/company/problemitem/list";//故障项目列表
    public static String problemitem_info_get = base + "/company/problemitem/info/";//故障项目
    public static String devicetype_list_get = base + "/company/devicetype/list";//设备类别列表
    public static String devicetype_info_get = base + "/company/devicetype/info/";//设备类别
    public static String devicemode_list_get = base + "/company/devicemode/list";//设备型号列表
    public static String devicemode_info_get = base + "/company/devicemode/info/";//设备型号
    public static String device_list_get = base + "/company/device/list";//设备列表
    public static String device_info_get = base + "/company/device/info/";//设备详情
    public static String dictionarydata_list_get = base + "/sys/dictionarydata/list";//字典列表

//**              设备模块       **//

    public static String devicecheckrecord_list_get = base + "/company/devicecheckrecord/list";//点检列表
    public static String devicecheckrecord_info_get = base + "/company/devicecheckrecord/info/";//点检详情
    public static String devicecheckrecord_save = base + "/company/devicecheckrecord/v2/save";//点检添加
    public static String devicecheckrecord_update = base + "/company/devicecheckrecord/v2/update";//点检修改
//    public static String devicecheckrecord_save = base + "/company/devicecheckrecord/save";//点检添加
//    public static String devicecheckrecord_update = base + "/company/devicecheckrecord/update";//点检修改
    public static String devicecheckrecord_delete = base + "/company/devicecheckrecord/delete/";//点检删除
    public static String devicecheckrecord_verify = base + "/company/devicecheckrecord/verify/";//点检审核
    public static String devicecheckrecord_checkrecords = base + "/company/devicecheckrecord/checkrecords/";//点检
    public static String devicecheckrecord_checkshifttime = base + "/company/devicecheckrecord/checkShiftTime";//点检点新增按钮里检测是否有在范围内的班次


    public static String premaintenancerecord_list_get = base + "/company/premaintenancerecord/list";//设备预维护列表
    public static String premaintenancerecord_info_get = base + "/company/premaintenancerecord/info/";//设备预维护详情
    public static String premaintenancerecord_save = base + "/company/premaintenancerecord/save";//设备预维护添加
    public static String premaintenancerecord_update = base + "/company/premaintenancerecord/update";//设备预维护修改
    public static String premaintenancerecord_delete = base + "/company/premaintenancerecord/delete/";//设备预维护删除
    public static String premaintenancerecord_verify = base + "/company/premaintenancerecord/verify/";//设备预维护审核

    public static String completeequipmentrecord_list_get = base + "/company/completeequipmentrecord/list";  //设备完好检查列表
    public static String completeequipmentrecord_info_get = base + "/company/completeequipmentrecord/info/"; //设备完好检查详情
    public static String completeequipmentrecord_save = base + "/company/completeequipmentrecord/save";      //设备完好检查添加
    public static String completeequipmentrecord_update = base + "/company/completeequipmentrecord/update";  //设备完好检查修改
    public static String completeequipmentrecord_delete = base + "/company/completeequipmentrecord/delete/"; //设备完好检查删除
    public static String completeequipmentrecord_verify = base + "/company/completeequipmentrecord/verify/"; //设备完好检查审核

    public static String getOrderBeltlinesByArtlineId=base+"/devicehouse/operationartline/getOrderBeltlinesByArtlineId";//根据工艺线路工序

    public static String devicerepairrecord_list_get = base + "/company/devicerepairrecord/list";  //设备维修列表
    public static String devicerepairrecord_info_get = base + "/company/devicerepairrecord/info/"; //设备维修详情
    public static String devicerepairrecord_save = base + "/company/devicerepairrecord/save";      //设备维修添加
    public static String devicerepairrecord_update = base + "/company/devicerepairrecord/update";  //设备维修修改
    public static String devicerepairrecord_delete = base + "/company/devicerepairrecord/delete/"; //设备维修删除
    public static String devicerepairrecord_verify = base + "/company/devicerepairrecord/verify/"; //设备维修审核
    public static String devicerepairrecord_repair = base + "/company/devicerepairrecord/repair";  //设备维修

    public static String user_repairList = base + "/sys/user/repairList";  //维修工人列表
    public static String app_update =  base+"/appversioninfo/checkUpdate";  //APP更新


//**              数据模块       **//
public static String indexData = base + "/app/tomanIndexData";  //数据首页
    public static String web_base = "/app/tomanIndexData";  //数据首页
    public static String web_text = "/app/tomanIndexData";  //数据首页

//**              消息模块       **//


    public static String getAllNotifyMessage = base + "/app/getAllNotifyMessage";  //全部消息列表
    public static String getNotifyMessageByType = base + "/app/getNotifyMessageByType";  //获取某一类的消息或所有消息
    public static String getAllNotifyCount = base + "/app/getAllNotifyCount";  //获取某一类的消息或所有消息

    public static String getNotifyClear = base + "/app/notify/clear";  //获取某一类的消息或所有消息

//我的模块
public static String user_update_post_photo = base + "/sys/user/uploadPhoto";//人员信息头像上传
    public static String user_update_post_user = base + "/sys/user/appUpdateUser";//人员信息用户
    public static String user_update_pwd = base + "/sys/user/password";//人员信息用户
    public static String suggestion_save = base + "/sys/suggestion/save";//意见反馈存储

//**              车间模块       **//

    public static String workshop_plan_list = base + "/devicehouse/plan/list";//车间计划列表
    public static String workshop_plan_sendworkorder_save = base + "/devicehouse/sendworkorder/save";//车间计划派工
    public static String workshop_plan_getorderbeltlinesbyartlineid = base + "/devicehouse/operationartline/getOrderBeltlinesByArtlineId";//车间计划(根据工艺线路ID获取工序产线信息)
    public static String workshop_get_list = base + "/devicehouse/sendworkordermapping/listAllSendworkOrders";//领工信息列表
    public static String workshop_get_list_queryCount = base + "/devicehouse/sendworkordermapping/queryCount";//查询领工数量

    public static String workshop_submit_list = base + "/devicehouse/combinereport/list";//报工信息列表
    public static String workshop_submit_list_queryCount = base + "/devicehouse/combinereport/queryCount";//报工信息数量
    public static String workshop_plan_verify = base + "/devicehouse/plan/verify/";//车间计划批量审核
    public static String workshop_plan_dekete = base + "/devicehouse/plan/delete/";//车间计划批量删除
    public static String workshop_plan_complete = base + "/devicehouse/plan/complete/";//车间计划批量完工
    public static String workshop_plan_complete_confirm = base + "/devicehouse/plan/queryUnFinishedOrdersByPlanId/";//车间计划完工确认

    public static String workshop_product_list = base + "/devicehouse/product/list";//车间计划品名
    public static String workshop_operationartline_list = base + "/devicehouse/operationartline/listAll";//工艺路线
    public static String workshop_plan_update = base + "/devicehouse/plan/update";//车间计划更新
    public static String workshop_plan_save = base + "/devicehouse/plan/save";//车间计划更新
    public static String workshop_sendworkorder_list = base + "/devicehouse/sendworkorder/list";//派工信息列表
    public static String workshop_sendworkorder_verify = base + "/devicehouse/sendworkorder/verify/";//派工信息审核
    public static String workshop_sendworkorder_delete = base + "/devicehouse/sendworkorder/delete/";//派工信息审核
    public static String workshop_sendworkorder_update = base + "/devicehouse/sendworkorder/update";//派工信息更新
    public static String workshop_sendworkorder_updateStatusPause = base + "/devicehouse/sendworkorder/updateStatusPause/";//派工信息审核
    public static String workshop_sendworkorder_updateStatusContinue = base + "/devicehouse/sendworkorder/updateStatusContinue/";//派工信息审核
    public static String workshop_sendworkorder_updateStatusEnd = base + "/devicehouse/sendworkorder/updateStatusEnd/";//派工信息审核
    public static String workshop_sendworkorder_updatemappings = base + "/devicehouse/sendworkorder/updateMappings";//子派工信息(修改)
    public static String workshop_sendworkorder_updatemappingsbyorderid = base + "/devicehouse/sendworkorder/updateMappingsByOrderId";//子派工信息(修改)_更新指定工序下面的子派工单子信息

    public static String workshop_get_get = base + "/devicehouse/sendworkordermapping/receiveSelected/";//领工信息领取
    public static String workshop_submit_firstreport = base + "/devicehouse/sendworkordermapping/firstReport";//首件报工
    public static String workshop_submit_benchreport = base + "/devicehouse/sendworkordermapping/batchReport";//量产报工
    public static String workshop_submit_firstreport_update = base + "/devicehouse/deivcehousefirstreportorder/update";  //首件报工修改
    public static String workshop_submit_benchreport_update = base + "/devicehouse/deivcehousebatchreportorder/update";  //量产报工修改
    public static String workshop_submit_firstreport_verify = base + "/devicehouse/deivcehousefirstreportorder/verify/";  //首件报工审核
    public static String workshop_submit_benchreport_verify = base + "/devicehouse/deivcehousebatchreportorder/appVerify";  //量产报工审核
    public static String workshop_submit_delete = base + "/devicehouse/combinereport/delete";  //删除报工


    public static String workshop_firstquality_list = base + "/devicehouse/firstquality/list";  //首件质检(列表)
    public static String workshop_firstquality_delete = base + "/devicehouse/firstquality/delete/";//首件质检批量删除
    public static String workshop_firstquality_verify = base + "/devicehouse/firstquality/verify";//首件质检单点审核
    public static String workshop_firstquality_verify_batch = base + "/devicehouse/firstquality/verifyBatch/";//首件质检批量审核
    public static String workshop_firstquality_save = base + "/devicehouse/firstquality/save";//首件质检批量新增
    public static String workshop_firstquality_update = base + "/devicehouse/firstquality/update";//首件质检批量更新

    public static String workshop_inspectionreport_list = base + "/devicehouse/inspectionreport/list";  //巡检报工(列表)
    public static String workshop_inspectionreport_delete = base + "/devicehouse/inspectionreport/delete/";//巡检报工批量删除
    public static String workshop_inspectionreport_save = base + "/devicehouse/inspectionreport/save";//巡检报工批量新增
    public static String workshop_inspectionreport_update = base + "/devicehouse/inspectionreport/update";//巡检报工批量更新

    public static String workshop_devicehouseadjusttable_list = base + "/devicehouse/devicehouseadjusttable/list";  //调表中心（列表）
    public static String workshop_devicehouseadjusttable_delete = base + "/devicehouse/devicehouseadjusttable/delete/";//调表中心批量删除
    public static String workshop_devicehouseadjusttable_process = base + "/devicehouse/devicehouseadjusttable/process/";//调表中心（处理）
    public static String workshop_devicehouseadjusttable_complete = base + "/devicehouse/devicehouseadjusttable/complete/";//调表中心（完工）
    public static String workshop_devicehouseadjusttable_closecase = base + "/devicehouse/devicehouseadjusttable/closecase/";//调表中心（结案）
    public static String workshop_devicehouseadjusttable_update = base + "/devicehouse/devicehouseadjusttable/update";//调表中心（更新）
    public static String workshop_devicehouseadjusttable_save = base + "/devicehouse/devicehouseadjusttable/save";//调表中心（新增）

    public static String workshop_devicehousechangegrindingwheel_list = base + "/devicehouse/devicehousechangegrindingwheel/list";  //更换砂轮（列表）
    public static String workshop_devicehousechangegrindingwheel_delete = base + "/devicehouse/devicehousechangegrindingwheel/delete/";//更换砂轮批量删除
    public static String workshop_devicehousechangegrindingwheel_verify = base + "/devicehouse/devicehousechangegrindingwheel/verify/";//更换砂轮（处理）
    public static String workshop_devicehousechangegrindingwheel_update = base + "/devicehouse/devicehousechangegrindingwheel/update";//更换砂轮（更新）
    public static String workshop_devicehousechangegrindingwheel_save = base + "/devicehouse/devicehousechangegrindingwheel/save";//更换砂轮（新增）


//**              运维管理模块       **//

    public static String management_feedback_list = base + "/sys/feedback/list";//列表
    public static String management_feedback_save = base + "/sys/feedback/save";//列表
    public static String management_feedback_update = base + "/sys/feedback/update";//列表
    public static String management_feedback_delete = base + "/sys/feedback/delete/";//列表
    public static String management_feedback_allocation = base + "/sys/feedback/allocation/";//列表
    public static String management_feedback_dealwith = base + "/sys/feedback/dealwith/";//列表
    public static String management_feedback_audit = base + "/sys/feedback/audit/";//列表
    public static String management_feedback_classify = base + "/sys/feedback/classify/";//列表
//产线巡检
    public static String management_beltlineinspect_list = base + "/company/beltline/beltlineInspectList";//列表
    public static String management_beltlineinspect_wifi = base + "/company/terminal/getWifi";//列表
//    远程预热
    public static String management_warmupterminal_list = base + "/company/terminal/getWarmUpTerminalList";//列表
    public static String management_warmupterminal_warm= base + "/cdiServer/company/terminal/warmUp";//预热
    public static String management_warmupterminal_stop= base + "/cdiServer/company/terminal/stopWarmUp";//关闭预热
///cdiServer
//    远程预热参数
    public static String management_warmupterminalconfig_list= base + "/company/warmupconfig/list";//列表
    public static String management_warmupterminalconfig_audit= base + "/company/warmupconfig/audit/";//审核
    public static String management_warmupterminalconfig_delete= base + "/company/warmupconfig/delete/";//删除
    public static String management_warmupterminalconfig_update= base + "/company/warmupconfig/update";//更新
    public static String management_warmupterminalconfig_save= base + "/company/warmupconfig/save";//新增

//

    public static String querymultiple_companylist= base + "/sys/user/queryMultipleCompanyList";//多企业
//车间月计划
public static String devicehousemonthplan_appselectlist= base + "/devicehouse/devicehousemonthplan/appSelectlist";//列表
public static String devicehousemonthplan_save= base + "/devicehouse/devicehousemonthplan/save";//添加
public static String devicehousemonthplan_delete= base + "/devicehouse/devicehousemonthplan/delete/";//删除
public static String devicehousemonthplan_update = base + "/devicehouse/devicehousemonthplan/update";//更新


//车间日计划
public static String devicehousedayplan_appselectlist = base + "/devicehouse/devicehousedayplan/appSelectlist";//更新
    public static String devicehousedayplan_save= base + "/devicehouse/devicehousedayplan/save";//添加
    public static String devicehousedayplan_delete= base + "/devicehouse/devicehousedayplan/delete/";//删除
    public static String devicehousedayplan_update = base + "/devicehouse/devicehousedayplan/update";//更新
    public static String devicehousemonthplan_validateDuplicateDayPlan= base + "/devicehouse/devicehousedayplan/validateDuplicateDayPlan";//查询车间日计划是否已存在

    //    车间报工
    public static String devicehouseproductreport_save = base + "/devicehouse/devicehouseproductreport/save";//新增
    public static String devicehouseproductreport_list = base + "/devicehouse/devicehouseproductreport/list";//列表
    public static String devicehouseproductreport_update = base + "/devicehouse/devicehouseproductreport/update";//更新
    public static String devicehouseproductreport_audit = base + "/devicehouse/devicehouseproductreport/audit/";//批量审核
    public static String devicehouseproductreport_delete = base + "/devicehouse/devicehouseproductreport/delete/";//删除
    public static String devicehouseproductreport_auditsingle = base + "/devicehouse/devicehouseproductreport/auditSingle";//审核

//无计划报工
    public static String devicehouse_noplanreport_save = base + "/devicehouse/noplanreport/save";//新增
    public static String devicehouse_noplanreport_list = base + "/devicehouse/noplanreport/list";//列表
    public static String devicehouse_noplanreport_update = base + "/devicehouse/noplanreport/update";//更新
    public static String devicehouse_noplanreport_audit = base + "/devicehouse/noplanreport/verify/";//批量审核
    public static String devicehouse_noplanreport_delete = base + "/devicehouse/noplanreport/delete/";//删除
    public static String devicehouse_noplanreport_appverify = base + "/devicehouse/noplanreport/appVerify";//单个审核

    public static String log_save = base + "/sys/log/save";//日志操作存储

//菜单
public static String company_customusermenu_list = base + "/company/customusermenu/list";//已选列表
    public static String company_customusermenu_all_List = base + "/company/customusermenu/allList";//全部
    public static String company_customusermenu_update = base + "/company/customusermenu/saveOrUpdate";//全部

    public static String workday_getworkdaybymonth = base + "/common/workday/getWorkDayByMonth";//根据月份获取工作日

//    PDA
public static String pda_login = base + "/app/cardLogin";

//报表
public static String getCompanyBDTCount = base + "/home/companyIndex/getCompanyBDTCount";//报表页总览数据
public static String get_easy_report = base + "/devicehouse/devicehousedayplan/appSelectlist";//报表页总览数据
    public static String get_plan_report = base + "/devicehouse/plan/planIndex";//报表页总览数据

    public static String get_tally_report = base + "/home/companyIndex/getCompanyStaticsData";//报表页总览数据



    public static int   SCANNING_CODE=0X01;
    public static final String DECODED_CONTENT_KEY = "SCAN_RESULT";

    public static final String IMAGEFILE = "imageFile";

    public static final class FileDir {

        /**
         * 媒体路径
         */
        public static final String MEDIA = "/toman/media/";
        /**
         * 图片路径
         */
        public static final String IMG = "/toman/img/";
        /**
         * 文件路径
         */
        public static final String FILE = "/toman/file/";
    }

}